90308: xfi:fact-has-explicit-dimension-value

Documentation

Owners

Name Affiliation Email Start End
Herm Fischer UBMatrix / Mark V Systems fischer@markv.com 06-02-2008 at 12:55:00

References

function definition

Test Case Variations


V-01 Test correct location dimension for Mount Kilimanjaro

Documentation

Inputs

Outputs

  • Result test: $result instance of xs:boolean and count( $result ) eq 1 and $result eq true()

V-02 Test wrong location dimension for Mount Kilimanjaro

Documentation

Inputs

Outputs

  • Result test: $result instance of xs:boolean and count( $result ) eq 1 and $result eq false()

V-03 Test default location dimension for Vinson Massif

Documentation

Mt Vinson uses the Antarctica default dimension, so although it is not physically reported in the context, it is virtually reported due to the default for the dimension.

Inputs

Outputs

  • Result test: $result instance of xs:boolean and count( $result ) eq 1 and $result eq true()

V-04 Test location dimension for Peak concept Aurora Borealis (whose context lacks the location dimension)

Documentation

Inputs

Outputs

  • Result test: $result instance of xs:boolean and count( $result ) eq 1 and $result eq true()

V-05 Location dimension for AtmosphericPhenomenon concept Aurora Borealis (whose hypercube lacks the location dimension)

Documentation

Inputs

Outputs

  • Result test: $result instance of xs:boolean and count( $result ) eq 1 and $result eq true()

V-06 Error of concept argument which is not a dimension

Documentation

Inputs

Outputs

  • Error code: xfie:invalidExplicitDimensionQName

V-07 Error of non-XBRL element argument as dimension argument

Documentation

Inputs

Outputs

  • Error code: xfie:invalidExplicitDimensionQName

V-08 Dimension can be located in either segment or scenario, for this variation appears in the segment, to test that function is looking in only desired location for value.

Documentation

Inputs

Outputs

  • Result test: $result instance of xs:boolean and count( $result ) eq 1 and $result eq true()

V-09 Dimension can be located in either segment or scenario but for this variation appears in the scenario instead of segment, to test that function is looking in only both locations for value.

Documentation

Inputs

Outputs

  • Result test: $result instance of xs:boolean and count( $result ) eq 1 and $result eq true()

Revisions

Name On Details
Herm Fischer 06-02-2008 at 12:55:00 Created the test case.
Herm Fischer 16-03-2008 at 08:30:00 Added variations for bi-locational dimension with value in desired and opposite locations.
Herm Fischer 22-05-2008 at 08:30:00 Added variation v-01a for default dimension value.
Herm Fischer 01-09-2008 at 00:00:00 Made the function segment/scenario agnostic, renamed without segment/scenario in name.
Herm Fischer 02-09-2008 at 00:00:00 Renumbered directory and fixed syntax errors.
Herm Fischer 23-03-2011 at 21:00:00 Changed V-03 result to true as the default dimension always applies, without worry that hypercubes do not allow it. Noticed by Andy Harris.